<ul class="np_goods position">
  <div class="more"><a href="<?php echo $this->_var['goods_cat']['url']; ?>"><img src="themes/mmb_jiajujiu/images/jiahao.png"> 更多</a></div>
  <?php $_from = $this->_var['cat_goods']; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array'); }; $this->push_vars('', 'goods');$this->_foreach['goods'] = array('total' => count($_from), 'iteration' => 0);
if ($this->_foreach['goods']['total'] > 0):
    foreach ($_from AS $this->_var['goods']):
        $this->_foreach['goods']['iteration']++;
?>
  <li <?php if ($this->_foreach['goods']['iteration'] % 3 == 0): ?>class="even"<?php endif; ?>> 
    <a target="_blank" href="<?php echo $this->_var['goods']['url']; ?>" class="on"><img alt="<?php echo htmlspecialchars($this->_var['goods']['name']); ?>" src="<?php echo $this->_var['goods']['thumb']; ?>" /></a>
    <p class="name"> <a target="_blank"  href="<?php echo $this->_var['goods']['url']; ?>" title="<?php echo htmlspecialchars($this->_var['goods']['name']); ?>"><?php echo htmlspecialchars($this->_var['goods']['short_name']); ?></a> </p>
    <p class="font_price"> <span class="market_price"><?php echo $this->_var['goods']['market_price']; ?></span> <em class="cGrey">|</em><?php echo $this->_var['goods']['shop_price']; ?></p>
  </li>
  <?php endforeach; endif; unset($_from); ?><?php $this->pop_vars();; ?>
</ul>
